ListBox.Sort Method

Sorts the rows based on the current values of the SortedColumn and ColumnSortDirection properties. When a hierarchical ListBox is sorted, the rows are sorted at all levels of the hierarchy, not just the base level.

Syntax